package com.token.sysflow.hander;

import com.token.sql.IntegrateSql;
import com.token.sysflow.bean.FlowPathInfo;

import java.util.Vector;

/**
 *
 */
public class Path extends FlowPathInfo {
    public Path(IntegrateSql f) {
        super(f);
    }

    /**
     *
     * @param fromStepId
     * @throws Exception
     */
    public void initPathByFromStepId(String fromStepId) throws Exception{
        Vector<String> vec = new Vector<>();
        vec.add(fromStepId);
        initParamToRs("SerialNumber=1 and FromStepId=?",vec);
    }
}